package main

import (
	"fmt"
)

type circul struct{
	radius float64 
}

func (c *circul)area()float64{
	//c.radius=1
	(*c).radius=1
	return 3.14* (*c).radius * (*c).radius
}
func main(){


	var c circul
	c.radius=10
	//res:=c.area()
	res:=(&c).area()
	fmt.Println("res=",res)
	fmt.Println("c.radius=",c.radius)
}